package com.jiang.books.repository;

import java.math.BigInteger;
import java.util.List;

import org.springframework.data.repository.PagingAndSortingRepository;

import com.jiang.books.domain.Author;

public interface AuthorRepository extends PagingAndSortingRepository<Author, BigInteger> {

	public List<Author> findByFirstName(String firstName);
	
	public List<Author> findByFirstNameAndLastName(String firstName, String lastName);
	
}